package com.javaee.web.servlet;
import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.javaee.web.HttpServletBase;
import com.javaee.web.SiteParameters;

/**
 * Servlet implementation class IndexServlet
 */
public class IndexServlet extends HttpServletBase {
	private static final long serialVersionUID = 1L;

	/**
	 * @see HttpServletBase#HttpServletBase()
	 */
	public IndexServlet() {
		super();
	}

	@Override
	protected void processRequest(HttpServletRequest request,
			HttpServletResponse response) throws ServletException, IOException {
		// Chargement de la page d'index
		loadJSP(SiteParameters.getPagePath("index"), request, response);
	}

}
